from turtle import *


def square(x, y, size, color_name):
    up()
    goto(x, y)
    down()
    color(color_name)
    begin_fill()

    forward(size)
    left(90)
    forward(size)
    left(90)
    forward(size)
    left(90)
    forward(size)
    left(90)

    end_fill()

#
# setup(420, 420, 0, 0)
# square(0, 0, 10, 'red')
# hideturtle()
# tracer(False)
